package net.zoneland.knowledge.model;

import java.io.Serializable;
import java.util.Date;

import net.zoneland.knowledge.enums.DoneTypeEnum;

/**
 * 很特殊的已办表.
 * 用户与工单是1:1对应
 * @author bcc
 */
public class WorkDoneInfo implements Serializable {

    private static final long serialVersionUID = -1L;

    private String id;

    /**
     * 工单主键id.
     */
    private String workApplyId;

    private String ownerUid;

    private String ownerName;

    /**
     * 已办类型.
     */
    private DoneTypeEnum doneType;

    private Date createTime;

    private Date updateTime;

    /**
     * 获取 id.
     *
     * @return id
     */
    public String getId() {

        return id;
    }

    /**
     * 设置 id.
     *
     * @param id id
     */
    public void setId(final String id) {

        this.id = id;
    }

    /**
     * 获取 workApplyId.
     *
     * @return workApplyId
     */
    public String getWorkApplyId() {

        return workApplyId;
    }

    /**
     * 设置 workApplyId.
     *
     * @param workApplyId workApplyId
     */
    public void setWorkApplyId(final String workApplyId) {

        this.workApplyId = workApplyId;
    }

    /**
     * 获取 ownerUid.
     *
     * @return ownerUid
     */
    public String getOwnerUid() {

        return ownerUid;
    }

    /**
     * 设置 ownerUid.
     *
     * @param ownerUid ownerUid
     */
    public void setOwnerUid(final String ownerUid) {

        this.ownerUid = ownerUid;
    }

    /**
     * 获取 ownerName.
     *
     * @return ownerName
     */
    public String getOwnerName() {

        return ownerName;
    }

    /**
     * 设置 ownerName.
     *
     * @param ownerName ownerName
     */
    public void setOwnerName(final String ownerName) {

        this.ownerName = ownerName;
    }

    /**
     * 获取 doneType.
     *
     * @return doneType
     */
    public DoneTypeEnum getDoneType() {

        return doneType;
    }

    /**
     * 设置 doneType.
     *
     * @param doneType doneType
     */
    public void setDoneType(final DoneTypeEnum doneType) {

        this.doneType = doneType;
    }

    /**
     * 获取 createTime.
     *
     * @return createTime
     */
    public Date getCreateTime() {

        return createTime;
    }

    /**
     * 设置 createTime.
     *
     * @param createTime createTime
     */
    public void setCreateTime(final Date createTime) {

        this.createTime = createTime;
    }

    /**
     * 获取 updateTime.
     *
     * @return updateTime
     */
    public Date getUpdateTime() {

        return updateTime;
    }

    /**
     * 设置 updateTime.
     *
     * @param updateTime updateTime
     */
    public void setUpdateTime(final Date updateTime) {

        this.updateTime = updateTime;
    }

}
